/* ===========================
   PAGE
=========================== */

html {
    background-color: #000;
}

body {
    margin: 0;
    min-height: 100vh;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.92)
        ),
        url("../../Assets/Page Images/Black Ops 7/Rex Infernus/rex-infernus.webp");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    background-color: #000;

    color: white;

    opacity: 1;

    animation: fadeIn 0.5s ease-in forwards;

    padding-bottom: 60px;
}


/* ===========================
   PAGE TRANSITION
=========================== */

body.fade-out {
    opacity: 0;
    transition: opacity 0.25s ease;
}


@keyframes fadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}


/* ===========================
   MAIN CONTAINER
=========================== */

.page-container {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 35px 35px 60px;
}


/* ===========================
   PAGE TITLE
=========================== */

.page-title {
    margin: 0 0 20px;

    color: #f28c28;

    font-size: 42px;
    font-weight: 900;

    letter-spacing: 2px;

    text-transform: uppercase;

    text-shadow:
        0 3px 10px rgba(0, 0, 0, 0.8);
}


.page-title::after {
    content: "";

    display: block;

    width: 70px;
    height: 3px;

    margin-top: 12px;

    background: #ff6a00;
}


/* ===========================
   MAP NAVIGATION
=========================== */

.map-navigation {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 45px;
}


.map-nav-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 10px 15px;

    border: 1px solid #ff6a00;

    background: rgba(10, 10, 10, 0.85);

    color: #ff6a00;

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.map-nav-button:hover,
.map-nav-button.active {
    background: #ff6a00;

    color: #111;

    transform: translateY(-2px);
}


/* ===========================
   SECTIONS
=========================== */

.video-section,
.information-section,
.guide-section {
    margin-bottom: 55px;
}


/* ===========================
   SECTION HEADING
=========================== */

.section-heading {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 20px;

    padding-bottom: 10px;

    border-bottom: 1px solid #333;
}


.section-heading span {
    display: block;

    width: 4px;
    height: 26px;

    background: #ff6a00;
}


.section-heading h3 {
    margin: 0;

    color: #ffffff;

    font-size: 23px;
    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* ===========================
   VIDEO CAROUSEL
=========================== */

#videoCarousel {
    position: relative;

    width: 100%;

    padding: 0 70px 45px;
}


.video-carousel {
    position: relative;

    width: 100%;
}


/* ===========================
   VIDEO SLIDES CONTAINER
=========================== */

.video-slides {
    position: relative;

    width: 100%;

    min-height: 100%;
}


/* ===========================
   VIDEO SLIDES
=========================== */

.video-slide {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;

    z-index: 1;
}


/* ===========================
   ACTIVE VIDEO
=========================== */

.video-slide.active {
    position: relative;

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    z-index: 2;
}


/* ===========================
   VIDEO CARD
=========================== */

.video-card {
    width: 100%;

    background:
        linear-gradient(
            180deg,
            #181818 0%,
            #0d0d0d 100%
        );

    border: 1px solid #333;

    border-radius: 5px;

    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.65);
}


/* ===========================
   VIDEO WRAPPER
=========================== */

.video-wrapper {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    background: #000;

    overflow: hidden;
}


/* ===========================
   YOUTUBE VIDEO
=========================== */

.video-wrapper iframe {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    border: 0;

    display: block;

    z-index: 5;

    pointer-events: auto;
}


/* ===========================
   VIDEO INFORMATION
=========================== */

.video-content {
    padding: 20px;
}


.video-content h4 {
    margin: 0 0 10px;

    color: #ff6a00;

    font-size: 19px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.video-content p {
    margin: 0;

    color: #bdbdbd;

    font-size: 14px;

    line-height: 1.6;
}


/* ===========================
   VIDEO ARROWS
=========================== */

.video-arrow {
    position: absolute;

    top: 50%;

    width: 50px;
    height: 50px;

    padding: 0;

    transform: translateY(-50%);

    background: #151515;

    border: 2px solid #ff6a00;

    border-radius: 50%;

    z-index: 20;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.video-arrow-left {
    left: 5px;
}


.video-arrow-right {
    right: 5px;
}


/* ===========================
   ARROW SHAPE
=========================== */

.video-arrow span {
    display: block;

    width: 13px;
    height: 13px;

    border-top: 3px solid #ff6a00;

    border-right: 3px solid #ff6a00;
}


.video-arrow-left span {
    transform: rotate(-135deg);
}


.video-arrow-right span {
    transform: rotate(45deg);
}


/* ===========================
   ARROW HOVER
=========================== */

.video-arrow:hover {
    background: #ff6a00;

    transform:
        translateY(-50%)
        scale(1.08);
}


.video-arrow:hover span {
    border-color: white;
}


/* ===========================
   INDICATORS
=========================== */

.video-indicators {
    position: absolute;

    left: 0;
    right: 0;

    bottom: 5px;

    display: flex;

    justify-content: center;

    gap: 8px;

    z-index: 30;
}


.video-indicator {
    width: 25px;
    height: 3px;

    padding: 0;

    border: 0;

    background: #555;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.video-indicator:hover {
    transform: scaleY(1.5);

    background: #888;
}


.video-indicator.active {
    background: #ff6a00;
}


/* ===========================
   INFORMATION CARDS
=========================== */

.information-card {
    padding: 25px;

    background:
        linear-gradient(
            180deg,
            #181818 0%,
            #0d0d0d 100%
        );

    border: 1px solid #333;

    border-radius: 5px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.55);
}


.information-card h4 {
    margin: 0 0 12px;

    color: #ff6a00;

    font-size: 19px;
    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.information-card p {
    margin: 0;

    color: #bdbdbd;

    font-size: 14px;

    line-height: 1.7;
}


/* ===========================
   GUIDE LIST
=========================== */

.guide-list {
    margin: 0;

    padding: 20px 25px 20px 45px;

    background:
        linear-gradient(
            180deg,
            #181818 0%,
            #0d0d0d 100%
        );

    border: 1px solid #333;

    border-radius: 5px;

    color: #bdbdbd;

    line-height: 1.6;
}


.guide-list li {
    margin-bottom: 10px;

    padding-left: 5px;
}


.guide-list li:last-child {
    margin-bottom: 0;
}


.guide-list li::marker {
    color: #ff6a00;

    font-weight: bold;
}


/* ===========================
   PHASE / STAGE TITLES
=========================== */

.phase-title {
    margin: 25px 0 15px;

    color: #ff6a00;

    font-size: 18px;
    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.stage-title {
    margin: 20px 0 10px;

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* ===========================
   MOBILE
=========================== */

@media (max-width: 768px) {

    .page-container {
        padding: 25px 15px 50px;
    }


    .page-title {
        font-size: 32px;
    }


    .map-navigation {
        gap: 7px;
    }


    .map-nav-button {
        font-size: 10px;

        padding: 9px 11px;
    }


    #videoCarousel {
        padding-left: 45px;
        padding-right: 45px;
    }


    .video-arrow {
        width: 40px;
        height: 40px;
    }


    .section-heading h3 {
        font-size: 19px;
    }


    .video-content {
        padding: 17px;
    }


    .information-card {
        padding: 18px;
    }

}


/* ===========================
   SMALL MOBILE
=========================== */

@media (max-width: 500px) {

    .page-title {
        font-size: 27px;
    }


    .map-navigation {
        flex-direction: column;
    }


    .map-nav-button {
        width: 100%;
    }


    #videoCarousel {
        padding-left: 0;
        padding-right: 0;
    }


    .video-arrow-left {
        left: 8px;
    }


    .video-arrow-right {
        right: 8px;
    }

}